package com.pctx.bibatracker.dao;

import com.pctx.bibatracker.pojo.Alarm;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AlarmMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Alarm record);

    int insertSelective(Alarm record);

    Alarm selectByPrimaryKey(Long id);

    List<Alarm> selectByDeviceUuid(@Param("deviceUuid") String deviceNo);

    int updateByPrimaryKeySelective(Alarm record);

    int updateByPrimaryKey(Alarm record);
}